python向上取整 向下取整 向上取整 ceil() 函數返回數字的向上取整整數,就是返回大於等於變量的最近的整數。 ceil()是不能直接訪問的,需要導入 math 模塊。 向下取整 floor(x) 返 ...